package vip.xiaonuo.smzq.modular.kcl.mapper;

import org.apache.ibatis.annotations.Select;
import vip.xiaonuo.smzq.modular.kcl.entity.Zsk;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 知识库 Mapper
 *
 * @author sqq
 * @since 2024-04-01
 */
@Mapper
public interface ZskMapper extends BaseMapper<Zsk> {
    @Select("select zskid from kcl_zsksc where userid=#{id}")
    List<String> getZskIds(String id);
}
